package com.wcgksoft.common.util.enums;

public enum Color {
  BLUE("蓝色"),
  RED("红色"),
  GREEN("绿色");

  Color(String description) {
    this.description = description;
  }
  private String description;
  public String getDescription() {
    return description;
  }
  public static void main(String args[]) { // 静态方法
    System.out.println(Color.BLUE.description);
    for (Color s : Color.values()) {
      System.out.println("description: " + s.getDescription());
    }
  }



}
